/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.trades.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.trades.entity.Trades;
import com.jeeplus.modules.trades.mapper.TradesMapper;

/**
 * 交易订单Service
 * @author lxj
 * @version 2021-01-08
 */
@Service
@Transactional(readOnly = true)
public class TradesService extends CrudService<TradesMapper, Trades> {

	public Trades get(String id) {
		return super.get(id);
	}
	
	public List<Trades> findList(Trades trades) {
		return super.findList(trades);
	}
	
	public Page<Trades> findPage(Page<Trades> page, Trades trades) {
		return super.findPage(page, trades);
	}
	
	@Transactional(readOnly = false)
	public void save(Trades trades) {
		super.save(trades);
	}
	
	@Transactional(readOnly = false)
	public void delete(Trades trades) {
		super.delete(trades);
	}
	
}